package com.huawei.orderservice.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "snowflakes")
public class SnowFlakeProperties {
    private Long workId;
    private Long dataCenterId;
}
